package com.oa.system.service;

import com.oa.system.entity.WebSocketUser;

import java.io.IOException;

public interface IUserManager {
    boolean addUser(WebSocketUser user);

    boolean removeUser(String userId) throws IOException;

    int getOnlineCount();

    WebSocketUser getUser(String userId);
}
